package com.wujunshen.designpattern.creational.factory.factorymethod;

/**
 * @author frank woo(吴峻申) <br>
 *     email:<a href="mailto:frank_wjs@hotmail.com">frank_wjs@hotmail.com</a> <br>
 * @date 2021/8/11 16:49<br>
 */
public class Client {
  public static void main(String[] args) {
    VehicleFactory brandOneFactory = new BrandOneFactory();
    brandOneFactory.createProduct().doSomething();

    VehicleFactory brandTwoFactory = new BrandTwoFactory();
    brandTwoFactory.createProduct().doSomething();
  }
}
